﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="read.aspx.cs" Inherits="AnyOffice.general.netdisk.read" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title id="litTitle" runat="server">Office 文档在线编辑</title>
		<SCRIPT type="text/javascript" LANGUAGE="JavaScript" src="/module/oc/ntkoocx.js"></SCRIPT>
		<style type="text/css"> BUTTON.op { BORDER-RIGHT: #eeeeee 1px solid; BORDER-TOP: #eeeeee 1px solid; BORDER-LEFT: #eeeeee 1px solid; WIDTH: 120px; CURSOR: hand; BORDER-BOTTOM: #eeeeee 1px solid; BACKGROUND-COLOR: #9dc2db } </style>
		<script>
function myload()
{
	TANGER_OCX_SetInfo();
	TANGER_OCX_OpenDoc('<%=url%>');		
}
</script>
	</HEAD>
	<body class="bodycolor" leftmargin="0" topmargin="5" onLoad="myload();">
		<form id="myForm" method="post" ENCTYPE="multipart/form-data" action="uploaddisk.aspx">
			<table width=100% height=100% class="small" cellspacing="1" cellpadding="3" align="center">
				<tr width="100%">
					<td valign="top" width="80">
						<table border="0" cellspacing="1" width="100%" class="small" bgcolor="#000000" cellpadding="3"
							align="center">
							<TBODY>
							    <%if (filePrint == "-1") { %>
								<TR class="TableHeader">
                                    <TD noWrap align="middle">文件操作</TD>
                                    </TR>
                                    <TR class="TableData" style="CURSOR: hand" onclick="TANGER_OCX_PrintDoc();">
                                    <TD noWrap align="middle">打印</TD>
                                </TR>
                                 <%} %>
                                <%if(!isppt){ %>
                                <TR class="TableHeader">
                                    <TD noWrap align="middle">电子认证</TD>
                                    </TR>
                                    <TR class="TableData" style="CURSOR: hand" onclick="DoCheckSign();">
                                    <TD noWrap align="middle">验证签名及印章</TD>
                                </TR>
                                <%} %>
							</TBODY>
						</table>
					</td>
					<td width="100%">
						<OBJECT id="TANGER_OCX" codeBase="/lib/ntko/officecontrol.cab#version=4,0,0,7" height="100%" width="100%"
							classid="clsid:C9BC4DFF-4248-4a3c-8A49-63A7D317F404" VIEWASTEXT>
							<param name="MakerCaption" value="北京思道图强科技有限公司">
                            <param name="MakerKey" value="24A5746461573FC9E037B4880244598A7AD894E3">
                            <param name="ProductCaption" value="思道科技 www.anyoffice.net">
                            <param name="ProductKey" value="6FD48B0A725F0A9984AA28D46952725DD7481D1E">
							<PARAM NAME="_ExtentX" VALUE="18071">
							<PARAM NAME="_ExtentY" VALUE="20981">
							<PARAM NAME="BorderColor" VALUE="14402205">
							<PARAM NAME="BackColor" VALUE="-2147483643">
							<PARAM NAME="ForeColor" VALUE="-2147483640">
							<PARAM NAME="TitlebarColor" VALUE="14402205">
							<PARAM NAME="TitlebarTextColor" VALUE="0">
							<PARAM NAME="BorderStyle" VALUE="1">
							<PARAM NAME="Titlebar" VALUE="1">
							<PARAM NAME="Toolbars" VALUE="1">
							<PARAM NAME="Caption" VALUE="Office文档在线编辑">
							<PARAM NAME="IsShowToolMenu" VALUE="1">
							<PARAM NAME="IsNoCopy" VALUE="<%=isNoCopy %>">
							<PARAM NAME="IsHiddenOpenURL" VALUE="0">
							<PARAM NAME="MaxUploadSize" VALUE="0">
							<PARAM NAME="Menubar" VALUE="1">
							<PARAM NAME="Statusbar" VALUE="1">
							<PARAM NAME="FileNew" VALUE="0">
							<PARAM NAME="FileOpen" VALUE="0">
							<PARAM NAME="FileClose" VALUE="-1">
							<PARAM NAME="FileSave" VALUE="0">
							<PARAM NAME="FileSaveAs" VALUE="0">
							<PARAM NAME="FilePrint" VALUE="<%=filePrint %>">
							<PARAM NAME="FilePrintPreview" VALUE="-1">
							<PARAM NAME="FilePageSetup" VALUE="-1">
							<PARAM NAME="FileProperties" VALUE="-1">
							<PARAM NAME="IsStrictNoCopy" VALUE="0">
							<PARAM NAME="IsUseUTF8URL" VALUE="0">
							<PARAM NAME="MenubarColor" VALUE="-2147483643">
							<PARAM NAME="IsUseControlAgent" VALUE="0">
							<PARAM NAME="IsUseUTF8Data" VALUE="0">
							<PARAM NAME="IsSaveDocExtention" VALUE="0">
							<PARAM NAME="IsDirectConnect" VALUE="0">
							<PARAM NAME="SignCursorType" VALUE="0">
							<PARAM NAME="IsResetToolbarsOnOpen" VALUE="0">
							<PARAM NAME="IsSaveDataIfHasVDS" VALUE="0">
							<SPAN STYLE="color:red">不能装载文档控件。请在检查浏览器的选项中检查浏览器的安全设置。</SPAN>
						</OBJECT>
						<script language="JScript" for="TANGER_OCX" event="OnDocumentOpened(TANGER_OCX_str,TANGER_OCX_obj)">
						TANGER_OCX_OnDocumentOpened(TANGER_OCX_str,TANGER_OCX_obj);						
						</script>
					</td>
				</tr>
			</table>
			<!-- TANGER_OCX_op 1编辑,0阅读-->
			<INPUT type="hidden" name="TANGER_OCX_op" value="<%=_op%>">
			<INPUT type="hidden" name="TANGER_OCX_attachid" value="">
			<INPUT TYPE="hidden" name="TANGER_OCX_attachmentid" value="<%=_path%>">
			<INPUT TYPE="hidden" name="TANGER_OCX_filename" value="<%=_filename%>">
			<INPUT TYPE="hidden" name="TANGER_OCX_username" value="<%=_username%>">			
		</form>		
	</body>
</HTML>